package org.abacus.platform.client.widget;

import java.awt.Dialog.ModalityType;
import java.awt.Frame;
import java.awt.GraphicsConfiguration;
import java.awt.Window;

import javax.swing.JDialog;

public class Dialog extends Widget {
	final JDialog dialog;

	public Dialog() {
		dialog = new JDialog();
	}

	public Dialog(java.awt.Dialog owner, boolean modal) {
		dialog = new JDialog(owner, modal);
	}

	public Dialog(java.awt.Dialog owner, String title, boolean modal, GraphicsConfiguration gc) {
		dialog = new JDialog(owner, title, modal, gc);
	}

	public Dialog(java.awt.Dialog owner, String title, boolean modal) {
		dialog = new JDialog(owner, title, modal);
	}

	public Dialog(java.awt.Dialog owner, String title) {
		dialog = new JDialog(owner, title);
	}

	public Dialog(java.awt.Dialog owner) {
		dialog = new JDialog(owner);
	}

	public Dialog(Frame owner, boolean modal) {
		dialog = new JDialog(owner, modal);
	}

	public Dialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc) {
		dialog = new JDialog(owner, title, modal, gc);
	}

	public Dialog(Frame owner, String title, boolean modal) {
		dialog = new JDialog(owner, title, modal);
	}

	public Dialog(Frame owner, String title) {
		dialog = new JDialog(owner, title);
	}

	public Dialog(Frame owner) {
		dialog = new JDialog(owner);
	}

	public Dialog(Window owner, ModalityType modalityType) {
		dialog = new JDialog(owner, modalityType);
	}

	public Dialog(Window owner, String title, ModalityType modalityType, GraphicsConfiguration gc) {
		dialog = new JDialog(owner, title, modalityType, gc);
	}

	public Dialog(Window owner, String title, ModalityType modalityType) {
		dialog = new JDialog(owner, title, modalityType);
	}

	public Dialog(Window owner, String title) {
		dialog = new JDialog(owner, title);

	}

	public Dialog(Window owner) {
		dialog = new JDialog(owner);
	}

	public JDialog getDialog() {
		return dialog;
	}

}
